package org.jeecg.wms.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 来料检验明细
 * @Author: LiCY
 * @Date:   2025-03-12
 * @Version: V1.0
 */
@Data
@TableName("wms_matdetail_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_matdetail_value对象", description="来料检验明细")
public class WmsMatdetailValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**样本编号*/
	@Excel(name = "样本编号", width = 15)
    @ApiModelProperty(value = "样本编号")
    private Integer sampleNum;
	/**结果主表ID*/
	@Excel(name = "结果主表ID", width = 15)
    @ApiModelProperty(value = "结果主表ID")
    private Integer headid;
	/**当前检验次数*/
	@Excel(name = "当前检验次数", width = 15)
    @ApiModelProperty(value = "当前检验次数")
    private Integer tn;
	/**参数配置ID*/
	@Excel(name = "参数配置ID", width = 15)
    @ApiModelProperty(value = "参数配置ID")
    private String dataid;
	/**值*/
	@Excel(name = "值", width = 15)
    @ApiModelProperty(value = "值")
    private String value;
	/**结果*/
	@Excel(name = "结果", width = 15)
    @ApiModelProperty(value = "结果")
    private String status;
    @Excel(name = "数据类型", width = 15)
    @ApiModelProperty(value = "数据类型")
    @TableField(exist = false)
    private String datatype;
	/**上限*/
	@Excel(name = "上限", width = 15)
    @ApiModelProperty(value = "上限")
    private BigDecimal lowLimit;
	/**下限*/
	@Excel(name = "下限", width = 15)
    @ApiModelProperty(value = "下限")
    private BigDecimal upLimit;
    /**下限*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
